package dao;

import entities.GroupJdo;

import java.sql.Date;
import java.util.List;

public interface GroupDAO {
    public void addGroup(GroupJdo group);
    public void removeGroup(GroupJdo group);
    public void updateGroup(Long groupId, GroupJdo group);
    public GroupJdo getGroupById(Long groupId);
    public List<GroupJdo> getGroupsByCompanyId(Long companyId);
    public List<GroupJdo> getGroupsByUserId(Long userId);
    public List<GroupJdo> getGroupsByDateRegistered(Date dateRegistered);
    public List<GroupJdo> getGroupsRegisteredInPeriod(Date startDate, Date endDate);
}
